MailPoet\WooCommerce\Helper A

Total Complexity 54
Dependencies 10
Dependents 46
Total lines 240
Lines of code 177
Logical lines of code 66
Comment lines 18
Methods 34
Properties 1

Methods 34

Method Rating Maintainability Complexity Lines of code
wasMailPoetInstalledViaWooCommerceOnboardingWizard()
S
59 5 14
isCheckoutRequest()
S
65 5 7
isWooCommerceCustomOrdersTableEnabled()
S
64 4 10
getCustomersCount()
S
63 3 10
isWooCommerceBlocksActive()
S
65 3 9
getLatestCoupon()
S
62 2 11
getCouponList()
S
56 1 18
wcGetPageId()
S
71 2 6
getAddressesTableName()
S
69 2 6
getOrdersTableName()
S
69 2 6
getWooCommerceVersion()
S
77 2 3
getPaymentGateways()
S
81 1 3
wcGetPriceDecimalSeparator()
S
81 1 3
getAllowedCountries()
S
79 1 3
createWcCoupon()
S
80 1 3
wcGetCouponCodeById()
S
80 1 3
wcGetCouponTypes()
S
81 1 3
getOrderStatuses()
S
81 1 3
__construct()
S
81 1 3
getRawPrice()
S
75 1 4
getOrdersCountCreatedBefore()
S
64 1 10
isWooCommerceActive()
S
80 1 3
wcLightOrDark()
S
79 1 3
woocommerceFormField()
S
79 1 3
getWoocommerceCurrencySymbol()
S
81 1 3
getWoocommerceCurrency()
S
81 1 3
wcGetProduct()
S
80 1 3
wcPrice()
S
79 1 3
wcCreateOrder()
S
80 1 3
wcGetOrders()
S
80 1 3
wcGetOrder()
S
80 1 3
wcGetCustomerOrderCount()
S
80 1 3
WC()
S
81 1 3
wcHexIsLight()
S
80 1 3